using UnityEngine;

namespace Brick
{
	public class ItemBtn : MonoBehaviour
	{
		public int type;

		public int ID;

		public int num;

		public void OnClick()
		{
			Item item = new Item();
			item.type = type;
			item.ID = ID;
			item.num = num;
			gdk_EventManager.Instance.DispachEvent("CHOOSE", item);
		}

		public void OnClickType()
		{
			Item item = new Item();
			item.type = type;
			item.ID = ID;
			item.num = num;
			gdk_EventManager.Instance.DispachEvent("CHOOSETYPE", item);
		}

		public void OnClickColor()
		{
			Item item = new Item();
			item.type = type;
			item.ID = ID;
			item.num = num;
			gdk_EventManager.Instance.DispachEvent("CHOOSECOLOR", item);
		}
	}
}

